package com.itheima.包装类;

public class Demo44 {

    public static void main(String[] args) {
        String s="3.14";
        double num=Double.parseDouble(s);
        System.out.println("num="+num);

        String s1="3.14";
        float f1=Float.parseFloat(s);
        System.out.println("f1="+f1);

        String s2="13156515423124";
        long l2=Long.parseLong(s2);
        System.out.println(l2);

    }


}

